package com.aiti.lulian.vo;

import com.aiti.lulian.workflow.ProcessStatus;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
public class ShowRecordAuditVo {

    /**
     * 主键ID
     */
    private String id;

    /**
     * 流程实例ID
     */
    private String processInstanceId;

    /**
     * 状态：'RUNNING', 'COMPLETED', 'TERMINATED', 'SUSPENDED','SUBMITTED','REJECTED'
     */
    private ProcessStatus status;

    /**
     * 业务类型：0-模板
     */
    private String businessType;

    /**
     * 业务记录ID
     */
    private String businessRecordId;



    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date baseCreateTime;

    /**
     * 更新时间
     */
    private Date baseUpdateTime;

    /**
     * 创建人用户ID
     */
    private String creator;

    /**
     * 创建人角色ID
     */
    private String roleId;

    /**
     * 创建人所属部门ID
     */
    private String deptId;

    private String creatorName;

    private String userId;

    private String currentDealUserId;

    private String taskId;

}
